﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Gola.VN.Scb.Web.Common.Entities.ProviderEntity>" %>
<div class="bggray">
    <div class="leftPopup">
        <div id="theMap">
        </div>
    </div>
    <div class="rightPopup">
        <div class="CompanyRt">
            <h3 class="title">
                Thông tin cửa hàng</h3>
            <div class="CompanyRtCt">
                <h2 class="titleCpn">
                    <%: Model.Name %></h2>
                <div class="addSt">
                    <ul>
                        <%
                            var i = 0;
                            foreach (var item in Model.ProviderLocations)
                            {
                                if (i == 0)
                                {%>
                        <li longtitude="<%:item.Longitude %>" latitude="<%:item.Latitude %>" class="active">
                            <%:item.Address%></li>
                        <% }
                                else
                                {
                        %>
                        <li longtitude="<%:item.Longitude %>" latitude="<%:item.Latitude %>">
                            <%:item.Address%></li>
                        <%}
                                i++;
                            } %>
                        <%--  <li longtitude="105.85000991821289" latitude="21.033277290458923" class="active">Tầng
                            1 Nhà A3 Làng QT Thăng Long, Trần Đăng Ninh, Cầu Giấy, Hà Nội</li>
                        <li longtitude="105.84794998168945" latitude="21.033677849782926">Số 15 Xã Đàn, Phương
                            Liên, Đống Đa, Hà Nội.</li>                        --%>
                    </ul>
                </div>
                <div class="addInfo">
                    <ul>
                        <li>
                            <label class="web">
                                Website:</label>
                            <a rel="nofollow" href="<%:Model.Website%>" target="_blank">
                                <%:Model.Website%></a></li>
                        <li>
                            <label class="email">
                                E-mail:</label>
                            <a rel="nofollow" href='<%: "mailto:" + Model.Email%>'>
                                <%: Model.Email%></a></li>
                        <li>
                            <label class="phone">
                                Phone:
                            </label>
                            <%:Model.PhoneNumber%></li>
                        <!--li>
            <label class="fax">Fax:</label>
            (84-4) 5639459</li-->
                        <li>
                            <label class="mobile">
                                Mobile:
                            </label>
                            <%:Model.Mobile%>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
